#ifndef RESCOLOR_H
#define RESCOLOR_H

//#define TO_QCOLOR(number) QColor((number&0x00FF0000) >> 16, (number&0x0000FF00) >> 8, number&0x000000FF)
#define TO_QCOLOR(number) QColor(number)

class ResColor {
public:

    static const unsigned int COLOR_WHITE = 0xFFFFFFFF;
    static const unsigned int COLOR_BLACK = 0xFF222222;
    static const unsigned int COLOR_GARY  = 0xFF979797;		//暗灰色
    static const unsigned int COLOR_YELLOW = 0xFFEE7D13;

    static const unsigned int COLOR_COLLECT_RECIPE_ITEM_BACKGROUDN = 0xFFEE7D13; //背景橘色
    static const unsigned int COLOR_SRCH_HISTORY_ITEM_TEXT = 0xFF929593;//搜索页面历史记录子项字体颜色
    static const unsigned int COLOR_SRCH_HISTORY_ITEM_BG = 0xFFD8D8D8;//搜索页面历史记录子项字体颜色

    static const unsigned int GREEN_LAKE = 0XFFE2E9E3;/* 湖水绿 */
    static const unsigned int LIGHT_WHITE_GRAY = 0XFFF1F1F5;/* 浅白灰 */
    static const unsigned int ICE_PLUM_POWDER = 0XFFEEE2E1;/* 冰莓粉 */
    static const unsigned int SEA_SALT_BLUE = 0XFFD9DFE9;/* 海盐蓝 */
    static const unsigned int DEFAULT_BCK = 0XFFF1F1F5;/* 默认 */

    static const unsigned int THEME_ORANGE = 0xFFF89519;/* 主题橙色 */
    static const unsigned int WHITE = 0xFFFFFFFF;
    static const unsigned int BLACK = 0xFF000000;

    static const unsigned int DIALOG_TEXT = 0XFF222222;
    static const unsigned int DIALOG_TEXT_40 = 0X3F222222;

    static const unsigned int GLOBAL_TOAST = 0XFFFFFFFF;

    static const unsigned int BackgroundColor_NORMA = 0xFFF1F1F5;//白灰
    static const unsigned int BackgroundColor_TIME = 0xFFEED4D1;//绯红//0xFFEEE2E1
    static const unsigned int BackgroundColor_DEGREE = 0xFFCDE9D1;//黛青//0xFFE2E9E3
    static const unsigned int BackgroundColor_SPEED = 0xFFC8D5E9;//浅蓝//0xFFD9DFE9
    static const unsigned int TEXT_SCROLLBAR_BG = 0xFFBBBBBB;
    static const unsigned int TEXT_SCROLLBAR = 0xFFDDDDDD;

    static const unsigned int HOME_TEXT_NORMAL = 0xFF000000;//
    static const unsigned int HOME_TEXT_UNFOCUS = 0xFFD3D3D3;
    static const unsigned int TOAST_VIEW_TEXT_NORMAL = 0xFFFFFFFF;
    static const unsigned int SETTINGS_TEXT_NORMAL = 0xFFFFFF;
    static const unsigned int SETTINGS_SCROLLBAR = 0xFFDADADA;
    static const unsigned int SETTINGS_TEXT_SCROLLBAR_BG = 0xFFBBBBBB;
    static const unsigned int SETTINGS_TEXT_SCROLLBAR = 0xFFDDDDDD;
    static const unsigned int SETTINGS_SPLIT = 0xFFAAAAAA;

    static const unsigned int COOKBOOK_TEXT_NORMAL = HOME_TEXT_NORMAL;
    static const unsigned int RECIPE_DETAIL_TEXT_SCROLLBAR = 0xFFDDDDDD;
    static const unsigned int RECIPE_DETAIL_TEXT_SCROLLBAR_BG = 0xFF8C8C8C;
    static const unsigned int RECIPE_SEARCH_DIVIDER_COLOR = 0xFFB8ACA8;
    static const unsigned int RECIPE_DETAIL_TEXT_BONGDING = 0xFF146891;

    static const unsigned int WEIGH_TEXT_WARNING = 0xFFF1BB16;
    static const unsigned int WEIGH_PROGRESS_BAR_WARNING = 0xFFF1BB16;
    static const unsigned int WEIGH_PROGRESS_BAR_NORMAL = 0xFFD5CEC5;

    static const unsigned int RECIPE_PICKER_TEXT_ITEM1 = 0xFFC9CFD8;
    static const unsigned int RECIPE_PICKER_TEXT_ITEM2 = 0xFFE1E1E1;
    static const unsigned int RECIPE_PICKER_TEXT_ITEM3 = 0xFFFFFFFF;
    static const unsigned int RECIPE_PICKER_TEXT_ITEM4 = 0xFFE1E1E1;
    static const unsigned int RECIPE_PICKER_TEXT_ITEM5 = 0xFFC9CFD8;
    static const unsigned int RECIPE_COOK_DESC_TEXT    = 0xFFE7B72F;

    static const unsigned int SPECAIL_MODE_BUTTON_PRESS = 0xFF00FF00;

    static const unsigned int UPGRADE_PROGRESS_BAR_BACKGROUND = 0xFFB1B1B1;
    static const unsigned int UPGRADE_PROGRESS_BAR_FOREGROUND = 0xFFFFFFFF;
};

#endif // RESCOLOR_H
